package com.she.iiicoursecenter.event.connect.bean;

public class GetMakeBean
{ 
	private int result= 901;
	private String message ="網路異常，請重新操作。";
//	private int error_code = -1;
	private int item_id = -1;
	private String item_name = "";
	private int content_id = -1;
	private int make_id = -1;
	private String content_name = "";
	private String content_code = "";
	private int status = -1;
	private long time_make = 0;

	public GetMakeBean(){
		
	}
  	
	public void setResult(int result){
		this.result = result;
	}
	
	public int getResult(){
		return result;
	}
	
	public void setMessage(String message){
		this.message = message;
	}
	
	public String getMessage(){
		return message;
	}
	
//	public void setErrorCode(int errorcode){
//		error_code = errorcode;
//	}
//	
//	public int getErrorCode(){
//		return error_code;
//	}
	
	public void setItemId(int itemid){
		item_id = itemid;
	}
	
	public int getItemId(){
		return item_id;
	}
	
	public void setItemName(String name){
		this.item_name = name;
	}
	
	public String getItemName(){
		return this.item_name;
	}
	
	public void setContentId(int contentid){
		content_id = contentid;
	}
	
	public int getContentId(){
		return content_id;
	}
	
	public void setMakeId(int makeId){
		make_id = makeId;
	}
	
	public int getMakeId(){
		return make_id;
	}
	
	public void setContentCode(String code){
		this.content_code = code;
	}
	
	public String getContentCode(){
		return this.content_code;
	}	
	
	public void setContentName(String contentName){
		this.content_name = contentName;
	}
	
	public String getContentName(){
		return this.content_name;
	}
	
	public void setStatus(int status){
		this.status = status;
	}
	
	public String getStatus(){
		if (status==2) {
			return "取消";
		}else if (status==1) {
			return "預約成功";
		}else{
			return "處理中";
		}
	}
	
	public void setMakeTime(long timemake){
		time_make = timemake;
	}
	
	public long getTimeMake(){
		return time_make;
	}
	
}